import Vue from 'vue'
import router from '@/router'
import store from '@/store'
import App from './pages/index/index.vue'
import sharedObject from './assets/js/vue-extend/sharedObject'
import jstools from 'jstools-common/dist/jstools.electron-renderer'
import xVueUI from '@xue5hen/x-vue-ui/lib/xVueUI.common.js'
import '@xue5hen/x-vue-ui/lib/xVueUI.css'
import 'bootstrap/dist/css/bootstrap.css'

import '@/assets/css/index.less'

// import '../public/service-worker/sw-register.js'

Vue.config.productionTip = false
Vue.prototype.$jstools = jstools

Vue.use(sharedObject)
Vue.use(xVueUI)

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
